#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
#include <string.h>
int main()
{
	char str[100];
	gets(str);
	int len = strlen(str);

	if (len < 6)  //判断长度是否合法
		printf("Your password is tai duan le.");
	else
	{
		int num = 0, letter = 0, point = 0, other = 0;
		for (int i = 1; i < len; i++)
		{
			if (str[i] >= '0' && str[i] <= '9')
				num++;
			else if (str[i] >= 'a' && str[i] <= 'z' || str[i] >= 'A' && str[i] <= 'Z')
				letter++;
			else if (str[i] == '.')
				point++;
			else
				other++;
		}

		if (other != 0)  //判断是否有非法字符(优先级别最高)
			printf("Your password is tai luan le.");
		else if (letter != 0 && num == 0)
			printf("Your password needs shu zi.");
		else if (letter == 0 && num != 0)
			printf("Your password needs zi mu.");
		else if (letter == 0 && num == 0)
			printf("Your password zhi you dian.");
		else
			printf("Your password is wan mei.");
	}
	return 0;
}